The working directory should be set to where the R file and data are downloaded to on your device.There is one R script per country.To replicate the materials, first run the initial code chunk. It will do the following:Load the package �foreign� and �cregg.�Load the data.Subset the data to Moroccan Nationals.Run the code to convert the variables to factors.This chunk must be run first.To replicate a specific figure or appendix, run the code as written in that labeled chunk. These chunks can be run in any order.This code was successfully run on a computer with 8 GB of Ram (PC) and a computer 32 GB of Ram (Mac). The replication files were executed in RStudio Version�1.3.959.cregg version 0.4.0foreign version 0.8-83